@import "../static/style/common.less";

.pullDown, .pullUp {
	text-align: center;
	background:#fff;
	height:40rem/@dpi;
	line-height:40rem/@dpi;
	padding:5rem/@dpi 10rem/@dpi;
	border-bottom:1rem/@dpi solid #ccc;
	font-weight:bold;
	font-size:18rem/@dpi;
	color:#888;
}
.pullDown .pullDownIcon, .pullUp .pullUpIcon  {
	display:block;
	float:left;
	width:40rem/@dpi;
	height:40rem/@dpi;
	background:url(../static/images/pull-loading.png) 0 0 no-repeat;
	-webkit-background-size:40rem/@dpi 80rem/@dpi;
	background-size:40rem/@dpi 80rem/@dpi;
	-webkit-transition-property:-webkit-transform;
	-webkit-transition-duration:250ms;	
}
.pullDown .pullDownIcon {
	-webkit-transform:rotate(0deg) translateZ(0);
}
.pullUp .pullUpIcon  {
	-webkit-transform:rotate(-180deg) translateZ(0);
}

.pullDown.flip .pullDownIcon {
	-webkit-transform:rotate(-180deg) translateZ(0);
}

.pullUp.flip .pullUpIcon {
	-webkit-transform:rotate(0deg) translateZ(0);
}

.pullDown.loading .pullDownIcon, 
.pullUp.loading .pullUpIcon {
	background-position:0 100%;
	-webkit-transform:rotate(0deg) translateZ(0);
	-webkit-transition-duration:0ms;

	-webkit-animation-name:loading;
	-webkit-animation-duration:2s;
	-webkit-animation-iteration-count:infinite;
	-webkit-animation-timing-function:linear;
}

@-webkit-keyframes loading {
	from { -webkit-transform:rotate(0deg) translateZ(0); }
	to { -webkit-transform:rotate(360deg) translateZ(0); }
}
